﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Noea.Parser;
using Noea.HTTP;
using System.Collections;


namespace WebCrawler
{
    static class MainCrawler
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

            //Crawler wc = new Crawler("http//www.noea.dk");
            //wc.StartPage();
            /*IHTTP socket = new HTTPTCPClient();
            socket.Open("http://public.ucn.dk/fen/testsite/", 80);
            socket.SendRequest();
            string html = socket.Receive();
            IHTMLDoc parser = new HTMLDocRegEx(html);
            IEnumerator links = parser.GetAllLinks().GetEnumerator();
            string str = "";
            while (links.MoveNext())
                str += links.Current + "\n";
            MessageBox.Show(str);*/
        }
    }
}
